﻿using System.Windows;
using GalaSoft.MvvmLight.Command;
using GlobalOfficeTools.Interfaces.ViewModel;
using SilverlightMenu.Library;

namespace GlobalOfficeTools.ViewModels
{
    public class MainPageViewModelDesign : IMainPageViewModel
    {
        #region Private Fields 
        #endregion

        #region Constructor 
        public MainPageViewModelDesign()
        {
            this.UserName = "UserName";
            this.Password = "password";

            this.LoginBoxVisibility = Visibility.Visible;
            this.UserDetailsBoxVisibility = Visibility.Collapsed;

            this.SoftwareVersion = "Build 00000/2011";
            this.LogonUserName = "Logon User Name";
            this.ActiveCompany = "Company Test";
        }
        #endregion

        #region IMainPageViewModel Implementation 
        public bool IsBusy { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public MenuItem MenuItems { get; set; }
        public string ImagesPath { get; set; }

        public string SoftwareVersion { get; set; }
        public string LogonUserName { get; set; }
        public string ActiveCompany { get; set; }

        public Visibility LoginBoxVisibility { get; set; }
        public Visibility UserDetailsBoxVisibility { get; set; }

        public RelayCommand<object> MenuCommand { get; private set; }
        public RelayCommand LoginButton { get; private set; }
        #endregion
    }
}
